package com.treasure.common.model.command;

import com.treasure.common.model.ChatHistoryEntity;
import com.treasure.common.types.InteractionId;
import com.treasure.common.types.Prompt;
import com.treasure.common.types.Question;
import com.treasure.common.types.ClientId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author sunhongmin
 * @date 2023/9/17 10:10
 * @description
 */
@Data
@Accessors(chain = true)
public class ConversationRequest {
    /**
     * SSE交互ID
     */
    private ClientId sseClientId;
    /**
     * 会话ID
     */
    private InteractionId interactionId;
    /**
     * 问题
     */
    private Question question;
    /**
     * 提示词
     */
    private Prompt prompt;
    /**
     * 开启网络搜索
     */
    private Boolean openSearch = true;
    /**
     * 聊天历史
     */
    private List<ChatHistoryEntity.ChatHistoryBean> chatHistoryList;
    /**
     * 是否同步调用
     */
    private Boolean syncCall;
}
